<?php
/**
 * 获取表的详情描述
 * author: JiangJun
 * CreateTime:2021/7/26 23:04
 */

require '../sqs/vendor/autoload.php';
echo '111';die;
use Aws\DynamoDb\Exception\DynamoDbException;
use Aws\DynamoDb\Marshaler;

$sdk = new Aws\Sdk([
    'region'   => 'us-west-2',
    'version'  => 'latest'
]);

$dynamodb = $sdk->createDynamoDb();

$result=$dynamodb->describeTable([
    'TableName'=>'Movies'
]);

print_r($result);